package tp_imag.service;

import java.io.IOException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Vector;

import tp_imag.service.impl.CoordenadaTransformada;

public interface metricSpaceIndex {
	public double[] CalcularModulo(Vector<CoordenadaTransformada> vt);
	public void rangeSearch(double[] query, byte range, ArrayList<double[]> solutions);
        public void rangeSearch2(double[] query, byte range, ArrayList<Integer> solutions);
	public void addElement(double[] newelem);
	public void buildIndex(Collection<double[]> lista, int expectedwords) throws Exception;
	public void buildIndex(Collection<double[]> lista) throws Exception;
	public void save (String fileName) throws IOException;
}
